import React from 'react';
import { View, Text, Button, StyleSheet } from 'react-native';
const App = () => {
 return (
  <View style={styles.container}>
    <Text style={styles.text}>样式1</Text>
    <Text style={styles.text}>样式2</Text>
    <Text style={styles.text}>样式3</Text>
  </View>
 );
};
const styles=StyleSheet.create({
  container: {
    backgroundColor: 'red',
    flexDirection: 'row'
  },
  text: {
    color: 'white',
    fontSize: 30
  }
 })
export default App;
